package tutor;

/**
 *
 * @author y_plaksyuk
 */
public class SubQuestion extends ArithmeticQuestion {

	public String getTitle() {
		return "-";
	}

	public void askQuestion(ArithmeticUnit unit) {
		int v1 = random(99);
		int v2 = random(99);
		unit.insertQuertsion(Math.max(v1, v2), Math.min(v1, v2), Math.abs(v1 - v2));
	}
}
